finding the values of angles formed by intersecting lines